import java.util.Random;

public class Main {
    public static void main(String[] args) {
        Random random = new Random();
        for (int i = 0; i < 50; i++) {
            int num1 = random.nextInt(100);
            int num2 = random.nextInt(100);
            String operation = random.nextBoolean() ? "+" : "-";
            String expression = num1 + " " + operation + " " + num2;
            System.out.println(expression);
        }
    }
}